//
//  CompleteButton.m
//  FashionShow
//
//  Created by 张龙 on 2017/2/28.
//
//

#import "CompleteButton.h"

@implementation CompleteButton

- (id)initWithFrame:(CGRect)frame bgColor:(UIColor *)bgColor tColor:(UIColor  *)tColor text:(NSString *)text{
    if (self = [super initWithFrame:frame]) {
        self.frame = frame;
        self.backgroundColor = bgColor;
        [self setTitle:text forState:UIControlStateNormal];

        [self setTitleColor:tColor forState:UIControlStateNormal];
        self.clipsToBounds = YES;
        self.layer.cornerRadius = 5;
        
    }
    return self;
}
@end
